package com.stu.day12;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zy
 * @date 2025/2/10 14:01
 */
public class GenericListDemo {
    public static void main(String[] args) {
        List<Integer> list = new ArrayList<Integer>();
        List<Long> list2 = new ArrayList<>();
        System.out.println(list.getClass()==list2.getClass());  // true
    }
}
